package com.sunchis.demo.util;

import com.sunchis.demo.util.jgroup.JGroupAgent;

public class ConfigFactory {
	private static ConfigFactory factory;
	
	private JGroupAgent jGroupAgent;
	
	private ConfigFactory() {
	}
	
	public static ConfigFactory getInstance() {
		if (factory == null) {
			factory = new ConfigFactory();
		}
		return factory;
	}

	public JGroupAgent getjGroupAgent() {
		return jGroupAgent;
	}

	public void setjGroupAgent(JGroupAgent jGroupAgent) {
		this.jGroupAgent = jGroupAgent;
	}
}
